home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Software für Mac-OS X / Entwickler-Tools / netbeans / modules / ext / djava.jar / koala / dynamicjava / interpreter / NodeProperties.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-03-14  |  1.6 KB  |  43 lines

  1. package koala.dynamicjava.interpreter;
  2.  
  3. import koala.dynamicjava.classinfo.ClassInfo;
  4. import koala.dynamicjava.interpreter.modifier.LeftHandSideModifier;
  5. import koala.dynamicjava.tree.Node;
  6.  
  7. public class NodeProperties {
  8.    public static final String COMPONENT_TYPE = "componentType";
  9.    public static final String CONSTRUCTOR = "constructor";
  10.    public static final String FIELD = "field";
  11.    public static final String METHOD = "method";
  12.    public static final String FUNCTION = "function";
  13.    public static final String FUNCTIONS = "functions";
  14.    public static final String MODIFIER = "modifier";
  15.    public static final String TYPE = "type";
  16.    public static final String VARIABLES = "variables";
  17.    public static final String VALUE = "value";
  18.    public static final String INNER_ALLOCATION = "innerAllocation";
  19.    public static final String OUTER_INNER_ALLOCATION = "outerInnerAllocation";
  20.    public static final String IMPORTATION_MANAGER = "importationManager";
  21.    public static final String INSTANCE_INITIALIZER = "instanceInitializer";
  22.    public static final String ERROR_STRINGS = "errorStrings";
  23.  
  24.    public static Class getComponentType(Node var0) {
  25.       return (Class)var0.getProperty("componentType");
  26.    }
  27.  
  28.    public static LeftHandSideModifier getModifier(Node var0) {
  29.       return (LeftHandSideModifier)var0.getProperty("modifier");
  30.    }
  31.  
  32.    public static Class getType(Node var0) {
  33.       return (Class)var0.getProperty("type");
  34.    }
  35.  
  36.    public static ClassInfo getClassInfo(Node var0) {
  37.       return (ClassInfo)var0.getProperty("type");
  38.    }
  39.  
  40.    protected NodeProperties() {
  41.    }
  42. }
  43.